.. _CF Structures: ========================== CF Structures ========================== .. toctree:: :maxdepth: 1 * :ref:`CFeedbackEntry` * :ref:`CFile` * :ref:`CFileException` * :ref:`CFileFind` * :ref:`CFileReaderParms` * :ref:`CFileStatus` * :ref:`CFileView` * :ref:`CFixedAlloc` * :ref:`CFixedAlloc::CNode` * :ref:`CFog` .. _CFeedbackEntry: CFeedbackEntry ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------+---------------+ | **Offset** | **Size (Total: 32)** | **Type** | **Field** | +------------+----------------------+-------------------------+---------------+ | 0x0 | 2 | unsigned __int16 | feedBackId | +------------+----------------------+-------------------------+---------------+ | | 2 | | ```` | +------------+----------------------+-------------------------+---------------+ | 0x4 | 4 | int | int1 | +------------+----------------------+-------------------------+---------------+ | 0x8 | 4 | int | int2 | +------------+----------------------+-------------------------+---------------+ | 0xC | 4 | int | int3 | +------------+----------------------+-------------------------+---------------+ | 0x10 | 4 | unsigned int | ref1 | +------------+----------------------+-------------------------+---------------+ | 0x14 | 4 | int | int4 | +------------+----------------------+-------------------------+---------------+ | 0x18 | 8 | :ref:`CString` | stringIn | +------------+----------------------+-------------------------+---------------+ ---- .. _CFile: CFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CFile Class` +------------+----------------------+-------------------------+------------------+ | **Offset** | **Size (Total: 24)** | **Type** | **Field** | +------------+----------------------+-------------------------+------------------+ | 0x0 | 8 | :ref:`CObject` | baseclass_0 | +------------+----------------------+-------------------------+------------------+ | 0x8 | 4 | unsigned int | m_hFile | +------------+----------------------+-------------------------+------------------+ | 0xC | 4 | int | m_bCloseOnDelete | +------------+----------------------+-------------------------+------------------+ | 0x10 | 8 | :ref:`CString` | m_strFileName | +------------+----------------------+-------------------------+------------------+ ---- .. _CFileException: CFileException ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CFileException Class` +------------+----------------------+-------------------------------+---------------+ | **Offset** | **Size (Total: 32)** | **Type** | **Field** | +------------+----------------------+-------------------------------+---------------+ | 0x0 | 16 | :ref:`CException` | baseclass_0 | +------------+----------------------+-------------------------------+---------------+ | 0x10 | 4 | int | m_cause | +------------+----------------------+-------------------------------+---------------+ | 0x14 | 4 | int | m_lOsError | +------------+----------------------+-------------------------------+---------------+ | 0x18 | 8 | :ref:`CString` | m_strFileName | +------------+----------------------+-------------------------------+---------------+ ---- .. _CFileFind: CFileFind ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CFileFind Class` +------------+----------------------+-------------------------+------------------+ | **Offset** | **Size (Total: 48)** | **Type** | **Field** | +------------+----------------------+-------------------------+------------------+ | 0x0 | 8 | :ref:`CObject` | baseclass_0 | +------------+----------------------+-------------------------+------------------+ | 0x8 | 8 | :ref:`CString` | m_strRoot | +------------+----------------------+-------------------------+------------------+ | 0x10 | 8 | void* | m_pFoundInfo | +------------+----------------------+-------------------------+------------------+ | 0x18 | 8 | void* | m_pNextInfo | +------------+----------------------+-------------------------+------------------+ | 0x20 | 8 | void* | m_hContext | +------------+----------------------+-------------------------+------------------+ | 0x28 | 4 | int | m_bGotLast | +------------+----------------------+-------------------------+------------------+ | 0x2C | 1 | char | m_chDirSeparator | +------------+----------------------+-------------------------+------------------+ | | 3 | | ```` | +------------+----------------------+-------------------------+------------------+ ---- .. _CFileReaderParms: CFileReaderParms ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+------------------+---------------+ | **Offset** | **Size (Total: 24)** | **Type** | **Field** | +------------+----------------------+------------------+---------------+ | 0x0 | 8 | unsigned __int8* | m_pSrc | +------------+----------------------+------------------+---------------+ | 0x8 | 8 | unsigned __int8* | m_pSrcCurrent | +------------+----------------------+------------------+---------------+ | 0x10 | 4 | int | m_nSrcLength | +------------+----------------------+------------------+---------------+ | | 4 | | ```` | +------------+----------------------+------------------+---------------+ ---- .. _CFileStatus: CFileStatus ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------+---------------+ | **Offset** | **Size (Total: 40)** | **Type** | **Field** | +------------+----------------------+-------------------------+---------------+ | 0x0 | 8 | :ref:`CTime` | m_ctime | +------------+----------------------+-------------------------+---------------+ | 0x8 | 8 | :ref:`CTime` | m_mtime | +------------+----------------------+-------------------------+---------------+ | 0x10 | 8 | :ref:`CTime` | m_atime | +------------+----------------------+-------------------------+---------------+ | 0x18 | 4 | int | m_size | +------------+----------------------+-------------------------+---------------+ | 0x1C | 1 | unsigned __int8 | m_attribute | +------------+----------------------+-------------------------+---------------+ | 0x1D | 1 | unsigned __int8 | _m_padding | +------------+----------------------+-------------------------+---------------+ | | 2 | | ```` | +------------+----------------------+-------------------------+---------------+ | 0x20 | 8 | :ref:`CString` | m_sFullName | +------------+----------------------+-------------------------+---------------+ ---- .. _CFileView: CFileView ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CFileView Class` +------------+----------------------+-----------------------+---------------+ | **Offset** | **Size (Total: 56)** | **Type** | **Field** | +------------+----------------------+-----------------------+---------------+ | 0x0 | 20 | :ref:`file_t` | f | +------------+----------------------+-----------------------+---------------+ | | 4 | | ```` | +------------+----------------------+-----------------------+---------------+ | 0x18 | 24 | view_t | v | +------------+----------------------+-----------------------+---------------+ | 0x30 | 4 | int | fileSize | +------------+----------------------+-----------------------+---------------+ | 0x34 | 4 | int | filePos | +------------+----------------------+-----------------------+---------------+ ---- .. _CFixedAlloc: CFixedAlloc ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------------------------------+--------------+ | **Offset** | **Size (Total: 24)** | **Type** | **Field** | +------------+----------------------+-------------------------------------------------+--------------+ | 0x0 | 4 | unsigned int | m_nAllocSize | +------------+----------------------+-------------------------------------------------+--------------+ | 0x4 | 4 | unsigned int | m_nBlockSize | +------------+----------------------+-------------------------------------------------+--------------+ | 0x8 | 8 | :ref:`CPlex`\* | m_pBlocks | +------------+----------------------+-------------------------------------------------+--------------+ | 0x10 | 8 | :ref:`CFixedAlloc::CNode`\* | m_pNodeFree | +------------+----------------------+-------------------------------------------------+--------------+ ---- .. _CFixedAlloc\:\:CNode: CFixedAlloc::CNode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+---------------------+-------------------------------------------------+-----------+ | **Offset** | **Size (Total: 8)** | **Type** | **Field** | +------------+---------------------+-------------------------------------------------+-----------+ | 0x0 | 8 | :ref:`CFixedAlloc::CNode`\* | pNext | +------------+---------------------+-------------------------------------------------+-----------+ ---- .. _CFog: CFog ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+-----------------------+----------------+ | **Offset** | **Size (Total: 168)** | **Type** | **Field** | +------------+-----------------------+-----------------------+----------------+ | 0x0 | 8 | float* | densityLast | +------------+-----------------------+-----------------------+----------------+ | 0x8 | 8 | float* | densityCurrent | +------------+-----------------------+-----------------------+----------------+ | 0x10 | 8 | float* | densityNext | +------------+-----------------------+-----------------------+----------------+ | 0x18 | 4 | int | N | +------------+-----------------------+-----------------------+----------------+ | 0x1C | 4 | float | dt | +------------+-----------------------+-----------------------+----------------+ | 0x20 | 4 | float | diff | +------------+-----------------------+-----------------------+----------------+ | 0x24 | 4 | float | visc | +------------+-----------------------+-----------------------+----------------+ | 0x28 | 4 | float | force | +------------+-----------------------+-----------------------+----------------+ | 0x2C | 4 | float | source | +------------+-----------------------+-----------------------+----------------+ | 0x30 | 4 | int | dvel | +------------+-----------------------+-----------------------+----------------+ | | 4 | | ```` | +------------+-----------------------+-----------------------+----------------+ | 0x38 | 8 | float* | u | +------------+-----------------------+-----------------------+----------------+ | 0x40 | 8 | float* | v | +------------+-----------------------+-----------------------+----------------+ | 0x48 | 8 | float* | u_prev | +------------+-----------------------+-----------------------+----------------+ | 0x50 | 8 | float* | v_prev | +------------+-----------------------+-----------------------+----------------+ | 0x58 | 8 | float* | dens | +------------+-----------------------+-----------------------+----------------+ | 0x60 | 8 | float* | dens_prev | +------------+-----------------------+-----------------------+----------------+ | 0x68 | 1 | bool | pointEnabled | +------------+-----------------------+-----------------------+----------------+ | | 3 | | ```` | +------------+-----------------------+-----------------------+----------------+ | 0x6C | 4 | int | pointAmount | +------------+-----------------------+-----------------------+----------------+ | 0x70 | 4 | int | pointDuration | +------------+-----------------------+-----------------------+----------------+ | 0x74 | 8 | :ref:`CPoint` | pointPos | +------------+-----------------------+-----------------------+----------------+ | 0x7C | 4 | float | pointUForce | +------------+-----------------------+-----------------------+----------------+ | 0x80 | 4 | float | pointVForce | +------------+-----------------------+-----------------------+----------------+ | 0x84 | 8 | :ref:`CPoint` | explosionPos | +------------+-----------------------+-----------------------+----------------+ | 0x8C | 4 | int | updateCounter | +------------+-----------------------+-----------------------+----------------+ | 0x90 | 1 | bool | fading | +------------+-----------------------+-----------------------+----------------+ | 0x91 | 1 | bool | initialized | +------------+-----------------------+-----------------------+----------------+ | | 2 | | ```` | +------------+-----------------------+-----------------------+----------------+ | 0x94 | 4 | float | alpha | +------------+-----------------------+-----------------------+----------------+ | 0x98 | 4 | int | contrast | +------------+-----------------------+-----------------------+----------------+ | 0x9C | 4 | unsigned int | innerColor | +------------+-----------------------+-----------------------+----------------+ | 0xA0 | 4 | unsigned int | outerColor | +------------+-----------------------+-----------------------+----------------+ | | 4 | | ```` | +------------+-----------------------+-----------------------+----------------+